#ifndef _MINIDIFF_H_
#define _MINIDIFF_H_

namespace ccgis{

class AFX_EXT_CLASS CDiffBase
{
	virtual BOOL IsEqual() = 0;
};

class AFX_EXT_CLASS CFileDiff : public CDiffBase
{
	CString m_strSrcFile, m_strToFile;
	int m_nEqualFlag;
public:
	CFileDiff(CString strSrcFile, CString strToFile);

	virtual BOOL IsEqual();

	BOOL DoCompare();

	BOOL ReadByte(CFile& file, BYTE& byte);
	BOOL ReadLong(CFile& file, long& v);

};

}//end of namespace ccgis

#endif//_MINIDIFF_H_